﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Interface_Tier;
using Transfer_Object_Tier;
using System.Data;
using Data_Access_Tier;

namespace Business_Tier
{
    public class BT_PhuCap : MarshalByRefObject, IDIC_ALLOWANCEData
    {
        DIC_ALLOWANCEData ALLOWANCE = new DIC_ALLOWANCEData();
        public int DIC_ALLOWANCE_Delete(string AllowanceCode)
        {
            return ALLOWANCE.DIC_ALLOWANCE_Delete(AllowanceCode);
        }
        public int DIC_ALLOWANCE_Disable(string AllowanceCode, ref bool Enabled)
        {
            return 1;
        }
        public DataSet DIC_ALLOWANCE_Get(string AllowanceCode)
        {
            return ALLOWANCE.DIC_ALLOWANCE_Get(AllowanceCode);
        }
        public DataSet DIC_ALLOWANCE_GetList(){
            return ALLOWANCE.DIC_ALLOWANCE_GetList();
        }
        public int DIC_ALLOWANCE_Insert(string AllowanceCode, string AllowanceName, decimal MaximumMoney, string Description)
        {
            return ALLOWANCE.DIC_ALLOWANCE_Insert(AllowanceCode, AllowanceName, MaximumMoney, Description);
        }
        public int DIC_ALLOWANCE_Save(string AllowanceCode, string AllowanceName, decimal MaximumMoney, string Description)
        {
            return ALLOWANCE.DIC_ALLOWANCE_Save(AllowanceCode, AllowanceName, MaximumMoney, Description);
        }
        public int DIC_ALLOWANCE_Update(string AllowanceCode, string AllowanceName, decimal MaximumMoney, string Description)
        {
            return ALLOWANCE.DIC_ALLOWANCE_Update(AllowanceCode, AllowanceName, MaximumMoney, Description);
        }

    }
}
